package com.chima.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.chima.domain.PageRequestBean;
import com.chima.domain.PageResponseBean;
import com.chima.domain.SonPost;

@Transactional
public interface SonPostService {
	public PageResponseBean findPost(PageRequestBean pageRequestBean);
	public void savePost(SonPost sonPost); 
	public void updatePost(SonPost sonPost); 
	public void deletePost(int id);
	public SonPost  findPostByName(String name);
	public SonPost  findPostById(int id);
	public List<SonPost>  findPostByPId(int id);
}
